package design.Command;

/**
 * Created by looper on 2017/8/21.
 */
public class Receiver {
  private String name;

  public Receiver(String name){
    this.name = name;
  }

  //执行者的执行方法
  public void operator(){
    System.out.println(name + " 已经接收到命令,开始执行");
  }
}
